<p id="notice"><%= notice %></p>

<h1>Listing Interfaces</h1>

<table>
  <thead>
  <tr>
    <th>Name</th>
    <th>Contents</th>
    <th>Time</th>
    <th>Version</th>
    <th colspan="3"></th>
  </tr>
  </thead>

  <tbody>
    <% @interfaces.each do |interface| %>
      <tr>
        <td><%= interface.name %></td>
        <td><%= interface.contents %></td>
        <td><%= interface.time %></td>
        <td><%= interface.version %></td>
        <td><%= link_to 'Show', interface %></td>
        <td><%= link_to 'Edit', edit_interface_path(interface) %></td>
        <td><%= link_to 'Destroy', interface, method: :delete, data: {confirm: 'Are you sure?'} %></td>
      </tr>
     <% end %>

    <%= javascript_include_tag 'prototype', 'effects' %>

    <%= link_to ("信息",:url=>{:action=>"findAll"} ,:remote=>true) %>

  </tbody>
</table>

<br>

<%= link_to 'New Interface', new_interface_path %>


